﻿#region zh-CHS 2006 - 2007 DemoSoft 团队 | en 2006 - 2007 DemoSoft Team

//     NOTES
// ---------------
//
// This file is a part of the G.O.S.E(Game Online Server Engine) for .NET.
//
//                 2006-2007 DemoSoft Team
//
//
// First Version : by H.Q.Cai - mailto:caihuanqing@hotmail.com

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU Lesser General Public License as published
 *   by the Free Software Foundation; either version 2.1 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

#region zh-CHS 包含名字空间 | en Include namespace
using System;
#endregion

namespace Demo_G.O.S.E.ServerEngine.Network.DLL
{
    #region zh-CHS 委托 | en Delegate
    /// <summary>
    /// 处理当前客户端数据的委托
    /// </summary>
    /// <param name="RecvMessageBlock"></param>
    public delegate void EventDelegateClientHandlerProcessMessageBlock( ACEMessageBlock RecvMessageBlock );
    /// <summary>
    /// 处理客户端断开的委托
    /// </summary>
    public delegate void EventDelegateClientHandlerDisconnect();
    /// <summary>
    /// 客户端处理指定数据的委托
    /// </summary>
    /// <param name="RecvMessageBlock"></param>
    /// <param name="NonceClientHandler"></param>
    /// <param name="HandlerManager"></param>
    public delegate void EventDelegateProcessMessageBlockClient( ACEMessageBlock RecvMessageBlock, ACEClientHandlerAtClient NonceClientHandler, ACESocketHandlerManagerAtClient HandlerManager );
    /// <summary>
    /// 客户端处理指定断开的委托
    /// </summary>
    /// <param name="NonceClientHandler"></param>
    /// <param name="HandlerManager"></param>
    public delegate void EventDelegateDisconnectClient( ACEClientHandlerAtClient NonceClientHandler, ACESocketHandlerManagerAtClient HandlerManager );
    /// <summary>
    /// 处理指定客户端数据的委托
    /// </summary>
    /// <param name="RecvMessageBlock"></param>
    /// <param name="NonceClientHandler"></param>
    /// <param name="AllHandlerManager"></param>
    public delegate void EventDelegateProcessMessageBlock( ACEMessageBlock RecvMessageBlock, ACEClientHandlerAtServer NonceClientHandler, ACESocketHandlerManagerAtServer AllHandlerManager );
    /// <summary>
    /// 处理指定客户端断开的委托
    /// </summary>
    /// <param name="NonceClientHandler"></param>
    /// <param name="AllHandlerManager"></param>
    public delegate void EventDelegateDisconnect( ACEClientHandlerAtServer NonceClientHandler, ACESocketHandlerManagerAtServer AllHandlerManager );
    /// <summary>
    /// 处理指定客户端连接的委托
    /// </summary>
    /// <param name="NonceClientHandler"></param>
    /// <param name="AllHandlerManager"></param>
    /// <param name="ClientHandlerAtServer"></param>
    public delegate void EventDelegateAcceptor( ACEClientHandlerAtServer NonceClientHandler, ACESocketHandlerManagerAtServer AllHandlerManager, out ACEClientHandlerAtServer ClientHandlerAtServer );
    #endregion
}
#endregion

